﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Common.master" AutoEventWireup="true" CodeFile="AddCourse.aspx.cs" Inherits="Course_Create_AddCourse" %>
<%@ Import Namespace="Company.StudyClub.BLL.Common" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="<%= Utility.Source %>/css/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="<%= Utility.Source %>/css/uploadify.css" rel="stylesheet" type="text/css" />    
    <link href="<%= Utility.Source %>/css/tagselector.css?<%= GetTimeCode() %>" rel="stylesheet" type="text/css" />
    <script src="<%= Utility.Source %>/js/jquery-ui.js" type="text/javascript"></script>
    <script src="<%= Utility.Source %>/js/jquery-validate.js" type="text/javascript"></script>        
    <script src="<%= Utility.Source %>/js/swfobject.js" type="text/javascript"></script>
    <script src="<%= Utility.Source %>/js/jquery.uploadify.js" type="text/javascript"></script>    
    <script src="../../kindeditor/kindeditor.js" type="text/javascript"></script>   
    <script src="<%= Utility.Source %>/js/jquery-catalogs.js" type="text/javascript"></script>
    <script src="<%= Utility.Source %>/js/jquery-tagselector.js?<%= GetTimeCode() %>" type="text/javascript"></script>
    <script src="<%= Utility.Source %>/js/course/create/addcourse.js?<%= GetTimeCode() %>" type="text/javascript"></script>   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="functionBtns">
    <div class="btns">
        <img src="<%=ThemePath("new.gif")%>" alt="new" width="20" height="16" align="top" /><a href="addcourse.aspx" class="active">添加课程</a>
        <img src="<%=ThemePath("list.gif")%>" alt="list" width="20" height="16" align="top" /><a href="default.aspx">课程列表</a>
    </div>
    <div class="help">
        <img src="<%=ThemePath("return.gif")%>" alt="list" width="20" height="16" align="top" /><a href="default.aspx">返回</a>
    </div>
    <div class="clear"></div>
</div>

<div style="margin:0 30px;">    
    <table cellspacing="1" class="editortable">
        <tr>
            <th width="20%" class="th"></th>
            <td class="td">     
                <input type="submit" id="btn_submit2" class="btn" value="提交" />   
            </td>
        </tr>
        <tr>
            <th class="th">课程类型：</th>
            <td class="td">               
                <input type="radio" id="rbtn_scorm" name="coursetype" value="1" checked="checked" /><label for="rbtn_scorm">SCORM1.2</label>                
                <input type="radio" id="rbtn_video" name="coursetype" value="2" /><label for="rbtn_video">非标准课程</label>
            </td>
        </tr>
        <tr>
            <th class="th">课程名称：</th>
            <td class="td">               
                <input type="text" id="txt_coursename" name="txt_coursename" class="txt" style="width:300px" />
            </td>
        </tr>
        <tr>
            <th class="th">课程编号：</th>
            <td class="td">               
                <input type="text" id="txt_serialnumber" name="txt_serialnumber" class="txt" style="width:300px" />
                <div class="note1">
                    编号请小心填写，添加后即不能修改<br />编号由4 - 10位的英文字母与数字组成例如：ex0101，cm0101
                </div>
            </td>
        </tr>
         <tr>
            <th class="th">课程目录：</th>
            <td class="td">               
                <input type="text" id="txt_catalog" name="txt_catalog" class="txt" style="width:300px" />
            </td>
        </tr>      
        <tr>
            <th class="th">课程时长：</th>
            <td class="td">               
                <input type="text" id="txt_playlength" name="txt_playlength" class="txt" style="width:300px" />
                <div class="note1">
                    单位：(分钟)
                </div>
            </td>
        </tr>
        <tr>
            <th class="th">课程缩略图：</th>
            <td class="td">           
                <div>
                    <div id="dv_upload" class="left" style="padding:5px;"><input type="file" name="uploadify" id="uploadify" /><p class="note1">选择一张图片作为课程封面图</p></div>
                    <div id="dv_queue" style="height:60px;float:left;"></div>    
                    <div class="left" id="dv_preview"></div>
                    <div class="clear"></div>
                </div>                
            </td>
        </tr>
        <tr>
            <th class="th">是否公开：</th>
            <td class="td">                               
                <input type="radio" id="rbtn_ispublic" name="ispublic" checked="checked" value="1" /><label for="rbtn_ispublic">公开</label>
                <input type="radio" id="rbtn_nopublic" name="ispublic" value="0" /><label for="rbtn_nopublic">不公开</label>
            </td>
        </tr>
         <tr>
            <th class="th">是否推荐：</th>
            <td class="td">                               
                <input type="radio" id="rbtn_isrecommend" name="isrecommend" checked="checked" value="1" /><label for="rbtn_isrecommend">推荐</label>
                <input type="radio" id="rbtn_unrecommend" name="isrecommend" value="0" /><label for="rbtn_unrecommend">不推荐</label>
            </td>
        </tr>
        <tr>
            <th class="th">关键字：</th>
            <td class="td">               
                
                <div id="dv_tags"></div>
            </td>
        </tr>        
        <tr>
            <th class="th">课程介绍：</th>
            <td class="td">               
                <textarea id="txt_description" cols="100" rows="8" style="visibility:hidden;"></textarea>                           
            </td>
        </tr>        
        <tr>
            <th class="th">讲师介绍：</th>
            <td class="td">               
                <textarea id="txt_lecturerintro" cols="100" rows="8" style="visibility:hidden;"></textarea>                           
            </td>
        </tr>
        
        <tr>
            <th class="th"></th>
            <td class="td">     
                <input type="submit" id="btn_submit" class="btn" value="提交" />   
            </td>
        </tr>         
    </table>
</div>
</asp:Content>

